Skip to content

chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in /back#1174

Open
dependabot[bot] wants to merge 7 commits into
mainfrom
dependabot/npm_and_yarn/back/typescript-6.0.3
Open

chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in /back#1174
dependabot[bot] wants to merge 7 commits into
mainfrom
dependabot/npm_and_yarn/back/typescript-6.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 12, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 5.9.3 to 6.0.3.

Release notes

Sourced from typescript's releases.

TypeScript 6.0.3

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

Commits
  • 050880c Bump version to 6.0.3 and LKG
  • eeae9dd 🤖 Pick PR #63401 (Also check package name validity in...) into release-6.0 (#...
  • ad1c695 🤖 Pick PR #63368 (Harden ATA package name filtering) into release-6.0 (#63372)
  • 0725fb4 🤖 Pick PR #63310 (Mark class property initializers as...) into release-6.0 (#...
  • 607a22a Bump version to 6.0.2 and LKG
  • 9e72ab7 🤖 Pick PR #63239 (Fix missing lib files in reused pro...) into release-6.0 (#...
  • 35ff23d 🤖 Pick PR #63163 (Port anyFunctionType subtype fix an...) into release-6.0 (#...
  • e175b69 Bump version to 6.0.1-rc and LKG
  • af4caac Update LKG
  • 8efd7e8 Merge remote-tracking branch 'origin/main' into release-6.0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 12, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/back/typescript-6.0.3 branch 2 times, most recently from 560ef3f to fedaac4 Compare June 4, 2026 09:13
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/back/typescript-6.0.3 branch from fedaac4 to 3d8902c Compare June 10, 2026 13:41
@douglasduteil

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.9.3...v6.0.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/back/typescript-6.0.3 branch from 3d8902c to df9cb89 Compare July 6, 2026 12:06
**Problem**

TS6 strict mode flags lying return types in ConfigParser: string()
could return undefined but declared `string`, callers masked it with
`as string`/`as boolean`/`as number` casts that hid real type
unsafety across all config files.

**Proposal**

Add proper overloads so single-arg calls (`string(path)`,
`boolean(path)`, `number(path)`) return the truthful required type
and throw on missing/invalid values. Two-arg calls with
`undefinedIfEmpty: true` return `string | undefined` for optional
config values. Remove lying casts from all core-fca-low config files.
…est/Response

Replace untyped @Req() req and @res() res with properly typed
@Req() req: Request / @res() res: Response from express.
Also fix two type bugs revealed by proper typing:
- URLSearchParams req.query cast
- res.redirect null assertion for getEndSessionUrl
Add ! to readonly DTO properties to satisfy strictPropertyInitialization.
Also fix a type narrowing for oidc-provider-config and add @ts-expect-error for jose-v2 import.
Add explicit type annotations for catch error vars (error as Error/any)
and implicit any parameters across services, validators, and providers.
Replaces anonymous context/object params with typed signatures.
Batch all remaining strict-mode compat fixes across apps and libs:
null/undefined type casts, non-null assertions, parameter types,
schema property assertions, optional chain narrowing, glob migration.
**Problem**

TS6 6.0 tightens `Object.entries()` on `unknown`, removes the `glob`
global, disallows `symbol` as object index key, and changes overload
resolution for `ejs.renderFile` — 9 type errors blocked the build.
Additionally, lodash `chain()` silently handled `undefined` inputs
but native `.flatMap()` throws, and the null→undefined change
in `oidc-client.controller` broke its test expectation.

**Proposal**

- Cast `Object.entries` arg to `Record<string, unknown>` and add index
  signature casts for `panvaFormatted`
- Import `glob` from `node:fs/promises` and mock as async iterable
- Replace `Symbol("sessionCookieName")` with a string literal
- Annotate `markdownGenerateResult` as `string[]`
- Use `as any` on ejs mock callback and generator mock where type
  boundaries don't risk correctness
- Guard `getIdpDomains` with `idps ?? []` to preserve null-safety
- Update oidc-client controller spec to expect `undefined` over `null`
@douglasduteil douglasduteil force-pushed the dependabot/npm_and_yarn/back/typescript-6.0.3 branch from 9067829 to 8904edd Compare July 6, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file scope: back 🧪 unit test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant